<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class SchTemplate extends School_Controller {

	
	public function index()
	{
		if ($this->remoteResources)
			$this->template->set('groupLibraries',array('jquery'));
		else
			$this->template->set('groupLibraries',array('jquery_local','','',''));
		
		$this->template->set('activeLink', $this->_activeLink());
		
		$this->template->build('SchoolBodyTemplate');
	}
	
	public function tmp() {
		
		$this->load->model('md1_temp');
		$all_records = $this->md1_temp->get()->result();
		$this->firephp->log($all_records);
	}
}
